home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / cstwnd / custctl.cpp < prev    next >
C/C++ Source or Header  |  1993-12-17  |  927b  |  29 lines

  1. #include "custctl.h"
  2. #include "nradio.h"
  3.  
  4. PTModule DLLModule;
  5.  
  6. #define CUSTCTL_VERSION    0x0100
  7. //------------------------------------------------------------------------
  8. #pragma argsused          // Suppresses args not used warning message
  9. extern "C" int FAR PASCAL _export WEP(int nParameter)
  10. {                         // Windows Exit Procedure
  11.   return (1);
  12. }
  13. //------------------------------------------------------------------------
  14. #pragma argsused
  15. extern "C" int FAR PASCAL LibMain(HINSTANCE hInstance, WORD wDataSeg,
  16.                  WORD cbHeapSize, LPSTR lpCmdLine)
  17. {                          // Library startup routine
  18.   DLLModule = new TModule("CUSTCTL",hInstance,lpCmdLine);
  19.   if (cbHeapSize > 0)
  20.     UnlockData(0);
  21.   return (1);
  22. }
  23. //=======================================================================//
  24.  
  25. extern "C" WORD FAR PASCAL _export CTLCustCtlGetVersion(void)
  26. {
  27.     return CUSTCTL_VERSION;
  28. }
  29.